package com.sh.data.engine.application.model.request.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Schema
public class OfflineTaskExistTableMappingRequest {

    @NotNull(message = "数据源id不能为空")
    @Schema(description = "数据源id")
    private Long dsId;

    @NotNull(message = "数据源来源不能为空")
    @Schema(description = "数据源来源 0-来源 1-目标")
    private Integer direction;

    private List<String> tables;

}
